package com.jic.conf.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author wwb
 */
@ApiModel("保存栏目配置Request")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddModuleDataRequest {

    @ApiModelProperty(value = "栏目Id", required = true)
    private Long moduleId;
    @ApiModelProperty(value = "栏目模板数据类型 0:静态数据 1:动态数据" , required = true)
    private Integer templateDataType;
    @ApiModelProperty(value = "栏目数据变量 moduleDataType=0时必传")
    private Object variablesObject;
    @ApiModelProperty(value = "商品id列表 moduleDataType=1时必传")
    private List<Long> productIds;
    @ApiModelProperty(value = "平台:1-H5;2-PC")
    private Integer platform;

    @ApiModelProperty(value = "商品类型:0-普通商品;1-排行榜单内商品")
    private Integer type;




}
